#ifndef __types_h__
#define __types_h__

#define KB(n)	((n) * 1024)
#define MB(n)	(KB(n) * 1024)
#define GB(n)	(MB(n) * 1024)
#define TB(n)	(GB(n) * 1024)

typedef unsigned char	u8;
typedef unsigned short	u16;
typedef unsigned long	u32;

typedef signed char	s8;
typedef signed short	s16;
typedef signed long	s32;

#ifdef INT64
	typedef unsigned INT64	u64;
	typedef signed INT64	s64;
#endif

#endif